package com.linkage.category.pojo;


public class Category {
	
	/**
	 * create table category
		(
		   categoryid           int(10) not null,
		   categoryname         varchar(50) not null,
		   descri               varchar(200),
		   primary key (categoryid)
		);
	 */
	
	private int categoryId;
	private String categoryName;
	private String descri;

	public int getCategoryId() {
		return categoryId;
	}


	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}


	public String getCategoryName() {
		return categoryName;
	}


	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}


	public String getDescri() {
		return descri;
	}


	public void setDescri(String descri) {
		this.descri = descri;
	}

	@Override
	public String toString() {
		return "Category [categoryId=" + categoryId + ", categoryName="
				+ categoryName + ", descri=" + descri + "]";
	}

	public Category() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Category(int categoryId, String categoryName, String descri) {
		super();
		this.categoryId = categoryId;
		this.categoryName = categoryName;
		this.descri = descri;
	}
	
	
}
